package com.course.domain.enums;

/**
 * Created by Justin on 2017/5/12.
 */
public enum TaskType {
    NONE(0, ""),
    LEARN(1, "自学任务"),
    CLASS(2, "线上教学"),
    EVENT(3, "线下课程");

    private int value;
    private String title;

    TaskType(int value, String title) {
        this.value = value;
        this.title = title;
    }

    public int getValue() {
        return value;
    }

    public String getTitle() {
        return title;
    }
}
